package cn.iocoder.yudao.module.worker.controller.app.goods.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import java.math.BigDecimal;

@Schema(description = "用户 APP - 商品管理新增/修改 Request VO")
@Data
public class AppWorkerGoodsSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "23538")
    private Long id;

    @Schema(description = "名称", example = "张三")
    private String name;

    @Schema(description = "商品分类id", requiredMode = Schema.RequiredMode.REQUIRED, example = "22404")
    @NotNull(message = "商品分类id不能为空")
    private Long categoryId;

    @Schema(description = "商品分类父级id", example = "16807")
    private Long categoryParentId;

    @Schema(description = "排序")
    private Integer weight;

    @Schema(description = "时长/小时")
    private BigDecimal hour;

    @Schema(description = "盲盒价格", example = "24314")
    private BigDecimal price;

}